cmake_minimum_required(VERSION 3.28)
project(GEngine)

set(CMAKE_CXX_STANDARD 17)

include_directories(src
        src/glad/include
        thirdpart/glfw-3.4/install/include
        thirdpart/stb-master
        thirdpart/glm-1.0.1)

link_directories(thirdpart/glfw-3.4/install/lib)

add_executable(GEngine src/main.cpp
        src/glad/src/glad.c
        src/core/shader.h)

target_link_libraries(GEngine -lglfw)
